/*
 This program is submitted as part of an assignment in the
 J2E
 Fall Semester 2010-2011 
 School of Computer Science
 Interdisciplinary Center, Hertzelia, Israel 

 http://www.idc.ac.il 

 Exercise No.         : 3
 File Name            : GameView.java
 Names (First Last)   : Itay Sorani, Nadav Ziv, Yonathan Zarsky
 Student No.          : 066530254, 039937883, 039692918
 */
package com.example.View;

/**
 * This class is the mapping function between grid to view.
 */
public class Projection {
	
	private float x,y;
	private float xScale,yScale;
	private int pixelsPerCell;
	
	public Projection (int pixelsPerCell) {
		this.pixelsPerCell = pixelsPerCell;
	}
	
	public void setX(float x) {
		this.x = x;
	}
	
	public float getX() {
		return x;
	}
	
	public void setY(float y) {
		this.y = y;
	}
	
	public float getY() {
		return y;
	}

	public void setxScale(float xScale) {
		this.xScale = xScale;
	}

	public float getxScale() {
		return xScale;
	}

	public void setyScale(float yScale) {
		this.yScale = yScale;
	}

	public float getyScale() {
		return yScale;
	}

	public void setPixelsPerCell(int pixelsPerCell) {
		this.pixelsPerCell = pixelsPerCell;
	}

	public int getPixelsPerCell() {
		return pixelsPerCell;
	}
	
	
}
